﻿#pragma once
// Copyright (c) lanyeo 2020-2021
// Licenced under MIT license. See https://opensource.org/licenses/MIT for details.
// code style
// 1. use forward declaration (尽可能使用前置声明)
// 2. include file sequence [other project>c>c++>third>self project]
//

#include <thirdparty/xml_paser.h>

struct DBConf;
class CDBConfParser : public XmlParser
{
public:

    CDBConfParser();

    bool Parser(XMLElement *root) override;
    const DBConf* conf();

    virtual ~CDBConfParser();

private:
    DBConf* m_conf;
};